package com.example.starter.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class ClassService {

    @Autowired
    private StudentService studentService;

    public StudentService print() {
        System.out.println(studentService.toString());
        return studentService;
    }

}
